<?php

namespace app\model;

use think\Model;

class PostMenu extends Model
{
    public static function getMenus($status = 1, $isdelete = 0)
    {
        return self::where('status', $status)
            ->where('isdelete', $isdelete)
            ->order('sort', 'ASC')
            ->select();
    }
}
